﻿<my:FloatingWindow
    xmlns:my="clr-namespace:SilverFlow.Controls;assembly=SilverFlow.Controls"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:SilverlightDebateView_Classes="clr-namespace:SilverlightDebateView.Classes"
    x:Class="SilverlightDebateView.Views.WindowNewOpinion"
    mc:Ignorable="d"
    d:DesignHeight="136" d:DesignWidth="407">
    
    <Grid x:Name="LayoutRoot" Background="White">
    	<Grid.DataContext>
    		<SilverlightDebateView_Classes:NewOpinionVM/>
    	</Grid.DataContext>
        <Button Content="Cancel" Height="23" HorizontalAlignment="Right" Margin="0,0,12,9" x:Name="CancelButton" VerticalAlignment="Bottom" Width="75" Click="CancelButton_Click" />
        <Button Content="OK" Height="23" HorizontalAlignment="Right" Margin="0,0,91,9" x:Name="OKButton" VerticalAlignment="Bottom" Width="75" Click="OKButton_Click" />
        <TextBox Height="48" Margin="10,10,12,0" TextWrapping="Wrap" VerticalAlignment="Top" Text="{Binding ObjOpinion._Title, Mode=TwoWay}" />
        <RadioButton Content="Agree" GroupName="agreedisagree" HorizontalAlignment="Right" IsChecked="{Binding ObjOpinion._Agree, Mode=TwoWay}" Margin="0,0,113,37" VerticalAlignment="Bottom" />
        <RadioButton Content="Disagree" GroupName="agreedisagree" HorizontalAlignment="Right" IsChecked="True" Margin="0,0,31,37" VerticalAlignment="Bottom" />
    </Grid>
</my:FloatingWindow>